The film was based on Abbas's own story, One Thousand Nights on a Bed of Stones, which describes the struggle in the life of pavement dwellers in the backdrop of rapid industrialization.
It is based on the life of Bhagat Singh. The music was composed by Prem Dhawan, with several songs being penned by freedom fighter Ram Prasad Bismil.