Bit fields can be used to reduce memory consumption when a program requires a number of integer variables which always will have low values.
For languages lacking native bitfields, or where the programmer wants strict control over the resulting bit representation, it is possible to manually manipulate bits within a larger word type.