What does "Arising out of and in the course of employment" mean?

Workers' compensation is designed to provide benefits to workers whose injuries "arise out of and in the course of the employment."  In essence this means that work must be the cause of the injury or disease.