Britney Spears is primarily an interpreter and performer, not a primary songwriter. The vast majority of her hits were crafted by professional songwriting teams—most famously Max Martin, Rami Yacoub, Cathy Dennis, Bloodshy & Avant, and later Dr. Luke, Benny Blanco, Sia.
She does hold co-writing credits on a handful of tracks, notably:
Spears has said in interviews she prefers focusing on performance, vocal delivery, and visual storytelling rather than lyric writing. She views her artistry as bringing songs to life, not originating them.
This doesn't diminish her impact—few interpreters have shaped pop culture as profoundly. But the "singer-songwriter" label doesn't fit her primary mode.