Using the Hellmann-Feynman theorem, we calculate the potential and kinetic energy contributions to the binding energy of symmetric nuclear matter, neutron matter and polarized neutron matter. These energies are used to analyze the symmetry energy of nuclear matter and the spin symmetry energy of neutron matter. The analysis is performed within the Brueckner-Hartree-Fock approach using the Argonne V18 realistic potential plus the Urbana IX three-body force. The kinetic energy difference between the correlated system and the underlying Fermi sea is used to estimate the importance of nucleon-nucleon correlations in the different systems concluding that at a given density, symmetric nuclear matter is more correlated than neutron matter, and that this is more correlated than polarized neutron matter. Our microscopic results show no indication of a ferromagnetic transition in neutron matter.