No, it’s so much more than that. While there is a medical component for sudden illnesses and accidental injuries, it can also cover you all sorts of additional incidents, such as Trip cancelation, Lost/Damaged/Stolen possessions, Emergency evacuation, Expatriation should there be a natural disaster, and Trip interruption.
Travel insurance is for all-around emergencies, not just medical ones.