An accretion disk is a structure formed by the gravitational collapse and rotation of material around a central object, such as a black hole or a protostar. The material in the disk gradually spirals inward, releasing energy and forming a disk-like structure.