A
block cipher encrypts fixed-size blocks of data at a time. AES uses 128-bit blocks. Different modes of operation (ECB, CBC, GCM) determine how blocks are chained.
ECB mode is insecure (identical plaintext = identical ciphertext). CBC needs an IV and is vulnerable to padding oracle attacks. GCM is the modern choice — provides authentication too.