Resource records define data types in the Domain Name System and are stored internally in binary format for DNS software but sent across networks in text format during zone transfers. Each resource record contains a domain name, class, type, time to live, and value fields, mapping domain names to associated data like IP addresses depending on the record type.