Light rays travel in straight lines, and shadows are formed when an opaque or translucent object blocks light from a source. The type of object determines whether light is absorbed, reflected, passes through partially, or passes through easily. An object's distance from the light source impacts the size of its shadow, with shadows becoming bigger when closer to the source and smaller when further away.