Give one situation where real and virtual image are formed?
A real image is produced on a screen (or some other detector) when all of the rays from a single point on an object strike a single point on the screen. Like in cinema hall.
For virtual image the most common example is when light from an object strikes a simple plane mirror. The reflected rays appear to come from an identical object that is located behind the mirror.