A bomber is a military aircraft designed to attack ground and sea targets, primarily by dropping bombs on them.