We prove some properties of completely monotonic functions and apply them to obtain new results on gamma and q-gamma functions.