👉 In mathematics, a ray is a part of a geometric shape that has one endpoint and extends indefinitely in both directions. In geometry, rays are used to represent lines on a coordinate plane or in 3D space, as well as to describe angles and other geometric shapes. Rayat can be defined as the angle between two vectors in Euclidean space. This concept is fundamental in physics, where it describes how forces act over time and space. For example, consider two vectors, A and B,