The waggle dance - the direction the bee moves in relation to the hive indicates direction; if it moves vertically the direction to the source is directly towards the Sun. The duration of the waggle part of the dance signifies the distance.
Figure-eight-shaped waggle dance of the honeybee (Apis mellifera). A waggle run oriented 45° to the right of ‘up’ on the vertical comb (A) indicates a food source 45° to the right of the direction of the sun outside the hive (B). The abdomen of the dancer appears blurred because of the rapid motion from side to side.
Beekman, M.; Golag, R. S.; Even, N.; Wattanchiyingchareon, W.; Olroyd, B. P. (2008). "Dance precision of Apis florae--clues to the evolution of honeybee dance language". Behavioral Ecology and Sociobiology. 62: 1259–1265. doi:10.1007/s00265-008-0554-z.