A ray is a defined term because it

has no width or depth

is described using an undefined term

has an informal definition

travels forever in one direction