Electric shock occurs when an electrical current passes through the body, potentially causing injury or death depending on the current's intensity and duration. It can result in burns, cardiac arrest, or muscle contractions, and safety measures are crucial to prevent such incidents.