Complex sentence: The API provides the foundation for both iCloud Drive and iCloud Photo Library and is supported on both OS X and iOS devices.
Split into simpler sentences: The API provides the foundation for both iCloud Drive and iCloud Photo Library. It is supported on both OS X and iOS devices.