In PAI, a laser pulse is directed onto the tissue or material of interest. The laser energy is absorbed by nanoparticles or endogenous chromophores, leading to localized heating and subsequent thermal expansion. This expansion generates ultrasonic waves, which are then detected by ultrasonic transducers. The detected signals are used to reconstruct images that provide information about the optical properties of the tissue or material.