I think you are describing the transmission slipping. Best case scenario is that the transmission fluid is low. It needs to be checked hot with the car idling in neutral after having been engaged in forward and reverse. Worst case, there are transmission issues. When you check the fluid level, look at the fluid on the dispstick. If it's not bright red the fluid may need changed. if the fluid smells burnt that may indicate transmission problems.