Electromagnetic radiation and its interaction with matter