Plastics are made of polymers which giant molecules are having long chains of repeating units derived from short molecules. These long chains are entangled with are one another and held together by weak inter-atomic forces such as Vander Waals force. These weak bonds can be easily broken up by sunlight and so long exposures to sunlight make them brittle.