Here’s a quick explanation of each from Engineering Explained.
Dive Planes
These fixtures are typically located on the right and left sides of the front bumper (see below), and are curved to redirect airflow at the front of the vehicle upward, thus creating downforce. They’re also used to alter the airflow along the sides of the vehicle, attempting to minimise the amount of high pressure air that enters underneath the car (which would create lift/minimise downforce).
Rear Wing
For automotive use, wings (much like on planes) are airfoils, however they are designed to directly deflect airflow upwards, pushing down on the vehicle. Airflow interacting with the wing is forced up, so the vehicle is forced down. However, the benefit of downforce comes at the expense of additional drag.