Flint is a variety of chert that forms in chalk or limestone. There is debate over whether flint and chert should be considered distinct rocks.