Responsibilities of a police officer are varied, and may differ greatly. Typical duties relate to keeping the peace, law enforcement, protection of people and property, and the investigation of crimes. Officers are expected to respond to a variety of situations that may arise while they are on duty. Rules and guidelines dictate how an officer should behave within the community, and in many contexts restrictions are placed on what the uniformed officer wears.