Complex sentence: It was found to improve short-term memory, but impaired episodic memory, and produced side effects such as headache, somnolence and nausea.
Split into simpler sentences: It was found to improve short-term memory, but impaired episodic memory. It produced side effects such as headache, somnolence and nausea.