That's called a boolean action, subtracting one solid from another