Primitive wrappers allow primitive values like integers and floats to be treated as objects by wrapping them in classes like Integer and Float. This allows primitives to be added to collections and returned from methods that return objects. The wrapper classes provide utility methods for converting between primitive types and for converting between primitives and their string representations in different bases like binary and hexadecimal.