The first team sport to be added to the olympics was football :)
The longest running team sport in today's Olympics is water polo which was first played at the 1900 Games in Paris and has been played at every Summer Olympics since then.
Water Polo was introduced as a team sport to the Olympics in 1900 as were cricket, polo, rugby union, and tug of war. These five sports were the first five team sports played in the Olympics.
cycling in the Olympics is individual and a team sport.
The first team sport in the Olympics was water polo.
in the Olympics there is both a team and individual event