Adam in Islam

Adam(AS) was the first prophet and Human to Exist,Adam ate a Apple and Allah sent them to Earth,but they asked for forgiveness and Allah accepted it.