Text this: Mathematical structures of epidemic system