Yes I was absolutely thinking of hearsay, thank you.
There are also several exceptions to the hearsay rule.
… and certain evidence that would otherwise be hearsay is often deemed non-hearsay by rule or statute!