What are the differences between men and women?

men excel in marathon swimming, long distance cycling, swimming, rock climbing and ultra marathons. Like I mentioned men have larger hearts, larger lungs, more hemoglobin per liter of blood, higher VO2 max, more skeletal muscle, etc.

Men even outperform women in archery

https://en.wikipedia.org/wiki/List_of_Olympic_records_in_archery#Women’s_records

As far as tennis, the Williams sisters were ranked #1 in tennis for women. They were beaten by a man 6-1 who was ranked #203 in men’s tennis.

As far as gymnastics, it depends on the event. Events that require flexibility are ones where women dominate. Events that require upper body strength are dominated by men.