Classes allow for mutable state, whereas records do not.
If an object needs to change its state after creation, a class is more suitable. Records are inherently immutable, which means once created, their data cannot be altered. For example, a 'UserProfile' class might need methods to update email or address, which would require a mutable class.
Additional Notes
Why could using a class be more appropriate than a record for mutable objects?