In geometry, the diameter of a circle is a line from one side directly to the opposite side through the centre. It can also be defined as the longest chord of a circle. The same explanations can be also used to describe the diameter in a sphere.