Why is It Called the Tropic of Cancer?

The tropics are 2 imaginary lines on the earth where the sun is exactly overhead at noon on the days of the winter and summer solstices. It just so happened that when the Tropic of Cancer was name, the sun was located in the constellation Cancer at that particular time.