Can someone explain how does Bark app work on teen phones?

hey, so bark is pretty interesting. it scans texts, emails, and social media for concerning content based on keywords and patterns, kinda like an automated content filter.

but what about how it accesses that data in the first place?