A record is a type for data. public record Shipment(string Id, string City, decimal Weight); declares a type with init-only properties, a constructor, value-based Equals and GetHashCode, and a readable ToString (Shipment { Id = S1, City = Leeds, Weight = 2.5 }). Two records are equal when all their properties are equal, even if they are different objects, which is what you want for data such as money amounts, addresses and keys in a dictionary.
Records are immutable by convention. To change one value, make a copy: var moved = shipment with { City = "York" };. The original is untouched.
Use record struct for small values you create in large numbers. Keep classes for objects with identity and behavior that changes over time, such as a bank account. Watch one trap: a record holding a List<T> compares the list by reference, not by its items.
A positional record, value equality and a non-destructive copy with with.