An agricultural machine for treating previously-cut agricultural products, such as grass, wheat, maize, hay, forage and the like, which are distributed randomly over an area such as a field, a piece of agricultural land and the like, comprising an apparatus (2) for transferring the previously-cut agricultural products for their tidy accumulation, during the advancement of the transfer apparatus (2), in a predefined region that is substantially located along the advancement direction (A) a unit (3) for baling the agricultural products, which is arranged substantially downstream of the transfer apparatus (2) and is provided with at least one agricultural product gathering unit (4), which faces and is proximate to the predefined region, for the consequent forming of a bale with the previously-cut agricultural products accumulated in the region a device (5), for wrapping the bale with a film, which faces and is proximate to the baling unit (3), for the substantially hermetic wrapping of the bale, with consequent insulation from the outside.