In Ray optics, the beam size is zero at focal plane of lens and in Gaussian Optics, the size would be minimum at focal plane because of diffraction limit but as we know that a photon does not interact with other photon then how the focusing and defocusing of beam is happening. This focusing and defocusing can be understand in case of electron beam, as they do interact with each other.