A BoundingBox is a type that describes an AABB box (Axis Aligned Bounding Box) which as in the name, has zero rotations. Bounding boxes are usually used to make a simplistic 3 dimensional area around a set of colliders or points, which can be used for detecting points within or out of areas, whether 2 bounding boxes are touching, and the rough size of an object
To use a bounding box as if it is an OOBB (Object Oriented Bounding Box) which includes rotations, then translate the other box or point (Object A) to the transform space of a Bounding Box (Object B). Calculations done with Object A after translating them to the transform space of Object B are now treated like OOBB calculations.