Scientists debated about the nature of electromagnetic radiation for more than 200 years because they could not distinguish if the radiations were made up of waves or just particles. This debate was between 1600 to the early part of 1900s.
Some scientists believed that electromagnetic radiations were made up of purely waves.
Some were of the school of thought that the radiations consists of jsut particles.
The wave-particle theory by Albert Einstein provided solution to this debate.
He simply propounded that electromagnetic radiations are made up of both waves and particles.
Today, it is widely accepted and known that electromagnetic radiations consists of both waves and particles.