Whilst booking a ticket on the Indian Railway network, there is a pretty good chance that you will get a waitlisted ticket as it is pretty common. When all of the RAC seats are sold then the passengers are given Waiting List tickets.
If you are on the Waiting List then the chances of you getting a confirmed seat are if other passengers cancel their tickets. Ticket cancellations by other passengers will increase your chances of getting confirmed tickets.