A block explorer reads the public blockchain and shows it in a browser: blocks, transactions, fees, addresses and the waiting mempool.
It is a view, not an authority. The data is only as trustworthy as the node behind the site, which is why some people run explorer software on their own node.
Privacy note: when you look up your own address or txid, the website can log your IP address together with what you searched for.