In a nutshell, projects launch an ICO by issuing crypto-tokens on the blockchain (usually the Bitcoin or the Ethereum blockchain), giving early investors the chance to acquire tokens in exchange for cryptocurrency.
ICOs are usually limited by time or a cap on the amount of funds raised. The value and number of tokens released can be static or calculated based on the amount of funds raised.