For example, the United States Coast Guard (USCG) is a branch of the military. Their duties include searching for people, ships and boats in danger at sea, rescuing those in danger and law enforcement to protect people from terrorism and crimes at sea. It can also become part of the Navy in a time of war. 