All matter has mass, meaning it has a physical property that causes it to resist changes in its motion. Additionally, matter takes up space, meaning it occupies a certain volume or area. These two characteristics are fundamental properties of matter and apply to all forms of it, whether it is visible or not. Therefore, the correct answer is "Both A and B."