When 2-pentanol gets oxidized you end up with 2-pentanone. In this case, since we are oxidizing a secondary alcohol you end up with a ketone. They cannot be oxidized further than that. If it was a primary alcohol you would end up with an aldehyde.
You can find the mechanism as well the molecule formula of both 2pentanol and 2pentanone attached.