radiation from the visible/ultraviolet region of the electromagnetic spectrum has enough energy to promote the electrons in atoms to a higher electronic energy level. so in uv-vis spec, you shoot uv-vis radiation at the sample; if the energy of a particular photon corresponds exactly with the energy difference between two possible allowed energy states, then the sample will absorb that photon and then re-emit it, leading to a reduction in the intensity of the incident beam, which is then measured by an electronic detector.
on the other hand, radiation from the ir region of the ems does not have sufficient energy to promote electrons to higher energy levels. rather ir radiation brings about changes in the bonds of a molecule. you will recall that covalent bonds are not rigid, but areconstantly bending and stretching in various ways. stretching and bending results in vibrations. if you shoot ir radiation at a molecule, provided that the molecule is ir-active (e.g. not a homonuclear diatomic molecule like H2 or O2) and there is at least one photon whose energy corresponds to the energy difference betwen two allowed vibrational energy states, then the molecule will absorb. crucially, in ir spec, the molecule does not re-emit, but rather 'uses up' the energy. this too leads to a reduction in the intensity of the incident beam, which again can be measured.
in short, uv-vis spec has nothing to do with vibrational modes. that is exclusive to ir-spec. uv-vis spec is about electrons.