As a noun professor doesn't need a capital letter, but when it is someone's title, like 'Professor Jones' or 'Dr Doolittle' it takes a capital letter.