Altcoins are used for the same purpose as bitcoin, on a much smaller and more volatile scale. They’re made to use blockchain as a distributed public ledger which records incorruptible transactions through consensi that the transactions are legitimate.